package com.xbk.seckill.activity.domain.event;

import com.alibaba.fastjson.annotation.JSONField;
import com.xbk.seckill.common.model.event.SeckillBaseEvent;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 活动事件
 *
 * @author xiexu
 * @date 2025/2/5 10:06
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class SeckillActivityEvent extends SeckillBaseEvent {

    /**
     * @param id          秒杀活动id
     * @param status      状态
     * @param destination 事件主题
     */
    public SeckillActivityEvent(Long id, Integer status, @JSONField(name = "destination") String destination) {
        super(id, status, destination);
    }

}
